package com.cos.shop.services;

import com.cos.shop.common.ResponseResult;
import com.cos.shop.entity.Address;

/**
 * @author: COS
 * @time: 2023/5/11 10:11
 * @description:
 */
public interface AddressServices {
    ResponseResult getAll(int uid);

    ResponseResult delete(int id);

    ResponseResult insertAddress(Address a);

    ResponseResult updateAddress(Address a);

    ResponseResult changeDefault(int aid,int uid);
}
